/* 全局 */
#app, body, html {width: 100%;height: 100%;background-color: #f6f8f9;font-size: 14px;}
a {color: #333;text-decoration: none;}
a:hover, a:focus {color: #000;text-decoration: none;}
a:link {text-decoration: none;}
a:-webkit-any-link {text-decoration: none;}
a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: border-box;outline:none !important; -webkit-appearance: none;}
*{margin: 0;box-sizing: border-box;outline: none;}
ul:not(.ck-content *) {padding:0;}
ol:not(.ck-content *) {padding:0;}
.flex{display: flex;}
.flexV{display: flex;align-items: center;}
.flexHV{display: flex;align-items: center;justify-content: center;}
.flexV-sb{display: flex;align-items: center;justify-content: space-between;}
.flexV-E{display: flex;align-items: center;justify-content: flex-end;}
.textEll{overflow: hidden;text-overflow:ellipsis;white-space: nowrap;}
.textEll2{text-overflow: -o-ellipsis-lastline;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;line-clamp: 2;-webkit-box-orient: vertical;}
.pr{position: relative;}
.cur{cursor: pointer;}
.fb{font-weight: bold;}
.help-block {margin-top: 10px;margin-bottom: 5px;color: #ccc;font-size: 12px;display: block;line-height: 0;}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar{width: 5px;height: 5px;background-color: #F5F5F5;}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track{-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);background-color: #F5F5F5;}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb{background-color: #999;}

/* 大布局样式 */
.aminui {display: flex;flex-flow: column;}
.aminui-wrapper {display: flex;flex:1;overflow: auto;}

/*布局设置*/
.layout-setting {position: fixed;width: 40px;height: 40px;border-radius: 3px 0 0 3px;bottom: 100px;right: 0px;z-index: 100;background: #409EFF;display: flex;flex-direction: column;align-items: center;justify-content: center;cursor: pointer;}
.layout-setting i {font-size: 18px;color: #fff;}

/* 头部 */
.adminui-header {height: 60px;background: #222b45;color: #fff;display: flex;justify-content:space-between;}
.adminui-header-left {display: flex;align-items: center;padding-left:20px;}
.adminui-header-right {display: flex;align-items: center;}
.adminui-header .logo-bar {font-size: 20px;font-weight: bold;display: flex;align-items: center;}
.adminui-header .logo-bar .logo {margin-right: 10px;width: 35px;height: 35px;}
.adminui-header .nav {display: flex;height: 100%;margin-left: 40px;}
.adminui-header .nav li {padding:0 10px;margin: 0 10px 0 0;font-size: 14px;color: rgba(255, 255, 255, 0.6);list-style: none;height: 100%;display: flex;align-items: center;cursor: pointer;}
.adminui-header .nav li i {margin-right: 5px;}
.adminui-header .nav li:hover {color: #fff;}
.adminui-header .nav li.active {background: rgba(255, 255, 255, 0.1);color: #fff;}
.adminui-header .user-bar .panel-item:hover {background: rgba(255, 255, 255, 0.1)!important;}
.adminui-header .user-bar .user label{color: #fff;}

.adminui-header-menu {}
.adminui-header-menu .el-menu {background: transparent;}
.adminui-header-menu .el-menu .el-sub-menu__title {color: #fff;}
.adminui-header-menu .el-menu .el-sub-menu__title:hover {color: #fff;background: var(--el-color-primary-light-2);}
.adminui-header-menu .el-menu .el-sub-menu.is-active .el-sub-menu__title {color: #fff;background: var(--el-color-primary-light-2);border-bottom-color:transparent;}
.adminui-header-menu .el-menu .el-menu-item {color: #fff;}
.adminui-header-menu .el-menu .el-menu-item:hover {color: #fff;background: var(--el-color-primary-light-2);}
.adminui-header-menu .el-menu .el-menu-item.is-active {color: #fff!important;background: var(--el-color-primary-light-2);border-bottom-color:transparent;}

/* 左侧菜单 */
.aminui-side-split {width:65px;flex-shrink:0;background: #222b45;display: flex;flex-flow: column;}
.aminui-side-split-top {height: 49px;}
.aminui-side-split-top a {display: inline-block;width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;}
.aminui-side-split-top .logo {height:30px;vertical-align: bottom;}
.adminui-side-split-scroll {overflow: auto;overflow-x:hidden;height: 100%;flex: 1;}
.aminui-side-split li {cursor: pointer;width: 65px;height: 65px;color: #fff;text-align: center;display: flex;flex-direction: column;align-items: center;justify-content: center;}
.aminui-side-split li i {font-size: 18px;}
.aminui-side-split li p {margin-top:5px;}
.aminui-side-split li:hover {background: rgba(255, 255, 255, 0.1);}
.aminui-side-split li.active {background: #409EFF;}

.adminui-side-split-scroll::-webkit-scrollbar-thumb {background-color: rgba(255, 255, 255, 0.4);border-radius:5px;}
.adminui-side-split-scroll::-webkit-scrollbar-thumb:hover {background-color: rgba(255, 255, 255, 0.5);}
.adminui-side-split-scroll::-webkit-scrollbar-track {background-color: rgba(255, 255, 255, 0);}
.adminui-side-split-scroll::-webkit-scrollbar-track:hover {background-color: rgba(255, 255, 255, 0);}

.aminui-side {display: flex;flex-flow: column;flex-shrink:0;width:185px;background: #fff;box-shadow: 2px 0 8px 0 rgba(29,35,41,.05);border-right: 1px solid #e6e6e6;transition:width 0.3s;}
.adminui-side-top {border-bottom: 1px solid #ebeef5;height:50px;line-height: 50px;}
.adminui-side-top h2 {padding:0 20px;font-size: 17px;color: #3c4a54;}
.adminui-side-top h3 {padding:0 9px;font-size: 15px;color: #3c4a54;}
.adminui-side-scroll {overflow: auto;overflow-x:hidden;flex: 1;}
.aminui-side.isCollapse {width: 64px;}

/* 右侧内容 */
.aminui-body {flex: 1;display: flex;flex-flow: column;}

.adminui-topbar {height: 50px;border-bottom: 1px solid #ebeef5;background: #fff;box-shadow: 0 1px 4px rgba(0,21,41,.08);display: flex;justify-content:space-between;}
.adminui-topbar .left-panel {display: flex;align-items: center;}
.adminui-topbar .right-panel {display: flex;align-items: center;}
.adminui-topbar .menu-collapse {height: 50px;width: 60px;padding: 0 20px;display: flex;align-items: center;cursor: pointer;}
.adminui-topbar .menu-collapse i {font-size: 16px;}
.adminui-topbar .menu-collapse:hover {background-image: linear-gradient(90deg, #d9ecff, transparent);}

// .panel-search {display: flex;align-items: center;}
// .panel-search > * + * {margin-left:10px;}
.panel-search-box{padding: 13px 15px 0 5px; background: #fff; border-bottom: 1px solid #e6e6e6; }
.panel-card-box{padding: 15px 15px 0; border-bottom: 1px solid #e6e6e6;}
.panel-search {display: flex;align-items: center; flex-wrap: wrap;}
.panel-search > * {margin-bottom: 13px;margin-left:10px;}
.panel-search > .el-input{ width: 200px;}
.panel-search > .el-cascader{ width: 200px;}

.tox-tinymce-aux{
	z-index: 5000 !important;
}

.adminui-tags {height:35px;background: #fff;border-bottom: 1px solid #e6e6e6;}
.adminui-tags ul {display: flex;overflow: hidden;}
.adminui-tags li {cursor: pointer;display: inline-block;float: left;height:34px;line-height: 34px;position: relative;flex-shrink: 0;}
.adminui-tags li::after {content: " ";width:1px;height:100%;position: absolute;right:0px;background-image: linear-gradient(#fff, #e6e6e6);}
.adminui-tags li a {display: inline-block;padding:0 10px;width:100%;height:100%;color: #999;text-decoration:none;display: flex;align-items: center;}
.adminui-tags li i {margin-left:10px;border-radius: 3px;width:18px;height:18px;display: flex;align-items: center;justify-content: center;}
.adminui-tags li i:hover {background: rgba(0,0,0,.2);color: #fff;}
.adminui-tags li:hover {background: #ecf5ff;}
.adminui-tags li.active {background: #409EFF;}
.adminui-tags li.active a {color: #fff;}
.adminui-tags li.sortable-ghost {opacity: 0;}

.adminui-main {overflow: auto;background-color: #f6f8f9;flex: 1;}

/*页面最大化*/
.aminui.main-maximize {
	.main-maximize-exit {display: block;}
	.aminui-side-split, .aminui-side, .adminui-header, .adminui-topbar, .adminui-tags {display: none;}
}
.main-maximize-exit {display: none;position: fixed;z-index: 3000;top:-20px;left:50%;margin-left: -20px;border-radius: 50%;width: 40px;height: 40px;cursor: pointer;background: rgba(0,0,0,0.2);text-align: center;}
.main-maximize-exit i {font-size: 14px;margin-top: 22px;color: #fff;}
.main-maximize-exit:hover {background: rgba(0,0,0,0.4);}

.detail-search{display: flex;align-items: center; flex-wrap: wrap;}
.detail-search > * {margin-bottom: 13px;margin-right:10px;}
.detail-search > .el-input{ width: 200px; }


.textEll{white-space: nowrap; text-overflow: ellipsis; overflow: hidden;}
.cur{cursor: pointer;}

.tips{color: #cccccc; font-size: 12px;}

.el-loading-mask {
    opacity: 0.5;
}

.el-tabs__header {
	margin: 0;
}


.el-overlay-dialog {
	display: flex;
	align-items: center
}

.el-dialog:not(.is-fullscreen){
	display: flex;
	flex-direction: column;
	margin: auto !important;
	vertical-align: middle;
	max-height: calc(100% - 40px);
	min-height: 200px;
}

.el-dialog .el-dialog__body{
	flex:1;
	overflow: auto;
	padding: 40px 20px;
	overflow-x: hidden;
}

.el-dialog.notpt .el-dialog__body {
    padding-top: 0px !important;
}

.el-dialog__footer{background: #f5f5f5;padding:10px;text-align: center;border-top: 1px solid #dfe6ec;}
.el-dialog__footer button{padding: 6px 20px;}

.el-dialog .el-dialog__body .ztitle{background: #fff !important;border-bottom: 1px solid #dfe6ec;}

.el-dialog__header {
  border-bottom: 1px solid #dfe6ec;
}

:root {
    --ck-z-default: 100;
    --ck-z-modal: calc( var(--ck-z-default) + 3000 );
}

.ck .ck-balloon-panel{position: absolute;z-index: 10000 !important;}

.details-form .el-form-item {
	margin-bottom: 0;
}
.title-content img {
	max-width: 100%;
}
.image_resized img {
	max-width: 100%; 
}

// 富文本
.htmlcontent {
	font-size: 16px;
	line-height: 30px;
	// 文本高亮
	.marker-yellow{background-color: #fdfd77;}
	.marker-green{background-color: #62f962;}
	.marker-pink{background-color: #fc7899;}
	.marker-blue{background-color: #72ccfd;}
	.pen-red{background-color: transparent; color: #e71313;}
	.pen-green{background-color: transparent; color: #128a00;}

	img {max-width: 100;}
}

// 图片预览背景样式
.el-image-viewer__close {
    background-color: unset;
}
.el-image-viewer__actions {
    background-color: unset;
}
